﻿-- Creating foreign key on [AppointmentID] in table 'LogAppointments'
-- Creating foreign key on [AppointmentID] in table 'LogAppointments'
-- Creating foreign key on [AppointmentID] in table 'LogAppointments'
-- Creating foreign key on [AppointmentID] in table 'LogAppointments'
-- Creating foreign key on [AppointmentID] in table 'LogAppointments'
ALTER TABLE [dbo].[LogAppointments]
ADD CONSTRAINT [FK_AppointmentLogAppointment]
    FOREIGN KEY ([AppointmentID])
    REFERENCES [dbo].[Appointments]
        ([AppointmentID])
    ON DELETE NO ACTION ON UPDATE NO ACTION;














